home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: undergrad.math.uwaterloo.ca!sckettle
- From: sckettle@undergrad.math.uwaterloo.ca (Steve Kettle)
- Subject: delete
- Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
- Message-ID: <DMDBqB.Bw5@undergrad.math.uwaterloo.ca>
- Date: Tue, 6 Feb 1996 19:06:11 GMT
- Nntp-Posting-Host: noether.math.uwaterloo.ca
- Organization: University of Waterloo
-
-
- The delete operator can be overloaded in a class by overloading with
- declaration
- void operator delete(void*);
-
- There is no way I see to set a pointer being deleted to 0 because of the
- pass by value.
-
- Is there anyway to force a deleted pointer to be zero or are we just
- at mercy of the compiler implementation?
- --
-